<template>
    <span class="number-count">{{numeral}}</span>
</template>

<script>
  export default {
    name: "NumberCount",
    model: {
      prop: "value",
      event: "change",
    },
    props: {
      value: Number,
    },
    computed: {
      numeral() {
        const { value } = this
        if (value < 10000) {
          return value
        }
        return `${value / 10000}万`
      },

    },
  }
</script>

<style lang="scss" scoped>
    .number-count {

    }
</style>
